/**
 * Created by victor on 16/9/14.
 */
var express = require('express');
var marketDao = require('../dao/marketDao')
var router = express.Router();


router.get('/',function (req,res,next) {
    // res.send('Get Request');
    marketDao.queryAll(req,res);
});

router.get('/addRecords',function (req,res,next) {
    marketDao.queryByKeyWord(req,res,next);
});

module.exports= router;